<?php
$url = '1756.htm';

$data = file_get_contents($url);

preg_match('#<p>Peitis.*\[(.*)]#i', $data, $owner);

echo "Peitja ".$owner[1]."<br/>";


preg_match('#<p>Peitis.*\s(.*)\s\[#i', $data, $owners);

echo "Peitjad ".$owners[1]."<br/>";

echo "<pre>";
print_r ($owners);


//$hiddentime1 = substr ($hiddentime[1], 0, 11);

//echo "Peidetud ".$hiddentime1."<br/>";
//echo "<pre>";
//print_r ($owner);

preg_match('#peidukoht\s(.*),#i', $data, $locationdiff);

echo "Peidukoht ".$locationdiff[1]."<br/>";

preg_match('#maastik\s(.*)<b>#i', $data, $locationterrain);

echo "Maastik ".$locationterrain[1]."<br/>";


?> 